package com.tuozixuan.repository;

import java.util.Optional;

import com.redis.om.spring.repository.RedisDocumentRepository;
import com.tuozixuan.model.Merchant;

public interface MerchantRepository extends  RedisDocumentRepository<Merchant, String> {

	Optional<Merchant> findMerchantByName(String name);
}
